<extend name="Base/common" />
<block name="body">
	<div class="com-content">
		<include file="Public/other" />
		<div class="com-content-area" id="js-com-content-area">
			<!--content-->
			<div class="page-role">
				<div class="page-title">
					{$data.name|default='全部'}
				</div>
				<div class="pxui-tab" style="margin-bottom:10px;margin-top: 10px;">
					<a href="{:U('index', array('uid' => $data['uid'], 'shopid' => $data['shopid']))}" <if condition="$type eq 0">class="selected"</if>>综 合</a>
					<a href="{:U('index', array('priceSort' => 'desc', 'uid' => $data['uid'], 'shopid' => $data['shopid']))}" <if condition="$type eq 1">class="selected"</if>>
					价 格
					<i class="arrow2-top gray"></i>
					<i class="arrow2-bottom gray"></i>
				</a>
					<a href="{:U('index', array('saleSort' => 'desc', 'uid' => $data['uid'], 'shopid' => $data['shopid']))}" <if condition="$type eq 2">class="selected"</if>>销 量</a>
					<a href="{:U('index', array('newSort' => 'desc', 'uid' => $data['uid'], 'shopid' => $data['shopid']))}" <if condition="$type eq 3">class="selected"</if>>最 新</a>
					<a href="{:U('index', array('zkSort' => 'desc', 'uid' => $data['uid'], 'shopid' => $data['shopid']))}" <if condition="$type eq 4">class="selected"</if>>折 扣</a>
				</div>
				<div class="pxui-area">
					<div class="pxui-shoes">
						<div id="js-goodlist">
							<volist name="list" id="v">
								<a href="{:U('GoodsList/goods_detail', array('id' => $v['id']))}">
									<div class="img160"><dfn></dfn><img src="{$v.picture||get_cover='path'}" goodsrc="{$v.picture||get_cover='path'}" /></div>
									<span class="name">{$v.name}</span>
									<span class="price">￥{$v.price}</span>
									<del class="price">￥{$v.shop_price}</del>
									<b class="jl-price">{$v.zhekou|count_zhekou=###}%</b>
									<img class="tag" style="" src="http://img-cdn2.paixie.net/images/empty.gif" goodsrc="" />
								</a>
							</volist>
						</div>
					</div>
				</div>
			</div>
			<!--content-end-->
		</div>
		<include file="Public/footer" />
</block>
